mcs_App.controller('LoginController', ['$scope', '$location', function($scope, $location){
	$scope.formData = { };

    $scope.submit = function() {
        if ($scope.formData.username === 'admin'
            && $scope.formData.password === '12345') {
            $location.path('/barcode');
        }
    };
}])